package cn.com.dcsgo.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 页面表(页面间的层级关系)
 * @author Dcsgo
 * @since 2025-05-13 16:33:47
 */
@TableName(value ="menu")
@Data
public class Menu implements Serializable {
    /**
     * 菜单id
     */
    @TableId
    private Long id;

    /**
     * 菜单标签
     */
    private String label;

    /**
     * 组件id
     */
    private Integer component;

    /**
     * 父菜单id
     */
    private Long pid;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}